<?php
namespace app\controller;

use app\model\AdminModel;
use core\lib\Language;

class IndexController extends \core\Core
{
    public function index()
    {

        //echo $_GET['id'];
        //$model = new AdminModel();
        //$rs = $model->lists();
        //dump($rs);

        //$data = $rs;
        $this->assign('data', $data= array());
        $this->display('index.html');

    }

    public function testIndex(){
        dump(Language::all('db/testdb'));
        $this->display('sjWeb1.php');
    }
}